package com.example.binpacking.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.binpacking.model.Interviewer;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface InterviewerService {
//    Interviewer login(BigDecimal loginid, String password, String usertype);
Interviewer login(Interviewer interviewer);

    List<Interviewer> findByLoginIdAndPassword(BigDecimal loginid,String password);

    public IPage<Interviewer> getInterviewerByPage(int currentPage, int pageSize);
}
